<?php namespace Aliyun\SLS\Models;

class MachineStatus
{

    public $binaryCurVersion;

    public $binaryDeployVersion;


    public function __construct($binaryCurVersion = null, $binaryDeployVersion = null)
    {
        $this->binaryCurVersion    = $binaryCurVersion;
        $this->binaryDeployVersion = $binaryDeployVersion;
    }


    public function toArray()
    {
        $resArr = array();
        if ($this->binaryCurVersion !== null) {
            $resArr['binaryCurVersion'] = $this->binaryCurVersion;
        }
        if ($this->binaryDeployVersion !== null) {
            $resArr['binaryDeployVersion'] = $this->binaryDeployVersion;
        }

        return $resArr;
    }
}